package com.haha.helloworld;

import androidx.appcompat.app.AppCompatActivity;

import android.annotation.SuppressLint;
import android.os.Bundle;
import android.widget.ImageView;

import com.bumptech.glide.Glide;


public class ImageViewActivity extends AppCompatActivity {

    private ImageView iv_4;

    @SuppressLint("CheckResult")
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_image_view);
        iv_4 = (ImageView) findViewById(R.id.iv_4);
        //Glide有点问题，先不用了
        Glide.with(this).
                load("https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg2.a0bi.com%2Fupload%2Fttq%2F20161204%2F1480862954271.jpg&refer=http%3A%2F%2Fimg2.a0bi.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1634786380&t=3c9c79ebb58231479a5c5040bf9ee354")
        .into(iv_4);

    }
}